﻿using AutoMapper;
using Traceability.Register.Application.Commonds.TraceabilityManagementCommonds;
using Traceability.Register.Domain;
namespace Traceability.Register.Writer.API
{
    /// <summary>
    /// 映射
    /// </summary>
    public class MapperProfiles:Profile
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public MapperProfiles()
        {
            CreateMap<InsertTraceabilityManagementCommond, Traceabilitys>().ReverseMap();
            CreateMap<UpdateQRCodeRequestCommond, Traceabilitys>().ReverseMap();
        }
    }
}
